<%@include file="/WEB-INF/includes/taglibs.jsp"%>
<table class="content">
	<tr>
		<td>
        	<spring:url value="/accounts/${accountTransaction.schedule.account.id}/accountTransactions/${accountTransaction.id}" var="form_url"/>
        	<form:form action="${form_url}" method="DELETE">
	        	<table class="form" width="200">
					<tr>
						<th colspan="2">Delete Item</th>
					</tr>
	            	<tr>
						<td>
	                		<label for="_name_id">Delete just this item:</label>
	                	</td>
	                	<td>
	                		<input type="radio" name="delete" value="instance" checked="checked" />
	                	</td>
	                </tr>
	                <tr>
	                	<td>
	                		<label for="_type_id">Delete all occurrences (${accountTransaction.schedule.remainingOccurrences}):</label>
	                	</td>
	                	<td>
			                <input type="radio" name="delete" value="all" />
	                	</td>
	                </tr>
	                <tr>
	                	<td colspan="2" align="right">
			                <input id="proceed" type="submit" value="Delete Item"/>
	                	</td>
	                </tr>
				</table>
        	</form:form>
		</td>
	</tr>     
</table>